package com.ceadeal.javafxboot.firstDemo;

import cn.edu.scau.biubiusuisui.annotation.FXController;
import cn.edu.scau.biubiusuisui.annotation.FXWindow;
import cn.edu.scau.biubiusuisui.entity.FXBaseController;
import de.felixroske.jfxsupport.FXMLController;
import javafx.fxml.Initializable;

import java.net.URL;
import java.util.ResourceBundle;

@FXController(path = "fxml/firstDemo/firstDemo.fxml")
@FXWindow(title = "工具", mainStage = true, resizable = false)
public class FirstDemoController extends FXBaseController implements Initializable {
    @Override
    public void initialize(URL location, ResourceBundle resources) {
        this.setDragAndResize(true,false);
        /*label.setText("你好");
        student = (org.example.firstDemo.Student) FXEntityFactory.wrapFXBean(Student.class);  // 从工厂中拿到将JavaBean转换得到的JavaFXBean
        Property listProperty = FXPlusContext.getEntityPropertyByName(student, "list");
        list.itemsProperty().bind(listProperty);*/
    }
}
